package com.heitian.ssm.dao;


import com.heitian.ssm.model.RecentContacts;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RecentContactsDao {
    int deleteRecentContacts(@Param("id") String id);

    int saveRecentContacts(RecentContacts record);

    int updateRecentContacts(RecentContacts record);

    List<RecentContacts> selectRecentContactsByPlace(@Param("place") String place);

    RecentContacts selectRecentContactsById(@Param("id")String id,@Param("place") String place);

}